﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Member.Sys.BLL
{
    public class BLL_Comments
    {
        public BLL_Comments() { }
        DAL.DAL_Comments dal = new DAL.DAL_Comments();
        /// <summary>
        /// 验证评论用户
        /// </summary>
        /// <param name="name"></param>
        /// <returns></returns>
        public bool Exists(string name)
        {
            return dal.Exists(name);
        }
        /// <summary>
        /// 添加评论用户信息
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public int AddCommentUser(Member.Sys.Model.Model_Comments model)
        {
            return dal.AddCommentUser(model);
        }
        /// <summary>
        /// 添加评论语句
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        public int AddComments(Member.Sys.Model.Model_Comments model)
        {
            return dal.AddComments(model);
        }
    }
}
